<?php
class test extends DBservice
{
    function test1($str)
    {
        $sql="select * from  settings";
        $rs = $this->dbh->query($sql);
        $rs = $rs->fetchall();
        $xml['response']=$rs;
        $xml = new array2xml($xml);
        return $xml->getXml();
    }
}
?>